Release 10.1A: OpenEdge Development:
Progress 4GL Reference


DYNAMIC-CURRENT-VALUE statement

Resets the current integer value of a sequence defined in the specified database.

Syntax

DYNAMIC-CURRENT-VALUE( sequence-exp, logical-dbname-exp ) = expression 

sequence-exp

A character expression that evaluates to the name of a sequence.

logical-dbname-exp

A character expression that evaluates to the name of a connected database in which the sequence is defined.

expression

An integer expression assigned as the current value of the specified sequence. If expression is outside the boundary set by the initial value (at one end) and the lower limit or upper limit (at the other end) for the sequence, Progress returns an error, and the sequence value remains unchanged.

Notes

See also

CURRENT-VALUE function, CURRENT-VALUE statement, DYNAMIC-CURRENT-VALUE function, DYNAMIC-NEXT-VALUE function, NEXT-VALUE function


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095